package com.android.multiplesmart.bean;

import com.google.gson.Gson;

import java.util.List;

public class SecretKeyBean {


    /**
     * success : true
     * resultCode : 0
     * resultInfo : 成功
     * resultEnInfo : success
     * result : ["iqliI7o1AIx09inkyq9XZA==","GS5OhDserWaF2hSOkdAhCJIRJ5vR2cjQAKPa9Qv0q5jr29q8Kb6oQ4QQ/ZRDnJQE"]
     * timestamp : 1714356614812
     */

    private boolean success;
    private int resultCode;
    private String resultInfo;
    private String resultEnInfo;
    private long timestamp;
    private List<String> result;

    public static SecretKeyBean objectFromData(String str) {

        return new Gson().fromJson(str, SecretKeyBean.class);
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultInfo() {
        return resultInfo;
    }

    public void setResultInfo(String resultInfo) {
        this.resultInfo = resultInfo;
    }

    public String getResultEnInfo() {
        return resultEnInfo;
    }

    public void setResultEnInfo(String resultEnInfo) {
        this.resultEnInfo = resultEnInfo;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<String> getResult() {
        return result;
    }

    public void setResult(List<String> result) {
        this.result = result;
    }
}
